package com.zyy.flyweight;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/08/03 22:15
 */

public class Demo {

    public Demo() {
    }

    public static void main(String args[]) {
        Integer i1 = Integer.valueOf(127);
        Integer i2 = Integer.valueOf(127);
        System.out.println((new StringBuilder()).append("i1\u548Ci2\u5BF9\u8C61\u662F\u5426\u662F\u540C\u4E00\u4E2A\u5BF9\u8C61\uFF1F").append(i1 == i2).toString());
        Integer i3 = Integer.valueOf(128);
        Integer i4 = Integer.valueOf(128);
        System.out.println((new StringBuilder()).append("i3\u548Ci4\u5BF9\u8C61\u662F\u5426\u662F\u540C\u4E00\u4E2A\u5BF9\u8C61\uFF1F").append(i3 == i4).toString());
    }
}